﻿
<button class="btn-filter" style="width:220px;" ng-click="showReport('execute')">
    <i class="glyphicon glyphicon-stats"></i>&nbsp;&nbsp; Search
</button>
<br/>
<br/>
<div class="form-group col-md-12" style="padding-left:0px; padding-right:0px"  ng-if="reportshow">
    <div class="grid-style" ui-grid="collectorList" ui-grid-resize-columns ui-grid-pinning>
    </div>
</div>
<!--<div class="form-group col-md-12" style="border:1px solid; height:80px">
    <div class="row" style="height:30px"></div>
    <div class="row">
        <div style="margin-left:20px; margin-top:10px;">-->
            <button id="refresh" class="btn-filter" style="width:220px;" ng-click="CreateReport()">
                <i class="glyphicon glyphicon-stats"></i>&nbsp;&nbsp;Generate Daily Report
            </button>
        <!--</div>
    </div>
</div>-->
<div style="height:5px">
</div>
<div class="form-group col-md-12" style="padding-left:0px; padding-right:0px;">

    <div class="grid-style" ui-grid="reportList" ui-grid-resize-columns>
    </div>

</div>
<div class="form-group col-md-10">
    <div class="row">
        <div class="col-md-2">
            <select id="pagesize" name="pagesize" ng-model="selectedLevel" ng-options="s.id as s.levelName for s in levelList"
                    ng-change="pagesizechange(selectedLevel)" class="form-control input-sm" style="margin-top: 20px; margin-bottom: 20px;"></select>
        </div>
        <pagination max-size="maxSize" items_per_page="itemsperpage" total-items="totalItems"
                    ng-model="currentPage" ng-change="pageChanged()"></pagination>
    </div>
</div>